﻿@model WeatherForecast.Mvc.Models.ManageUserViewModel

@using (Html.BeginForm("Manage", "Account"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset class="form-horizontal">
        <legend>Change User Settings</legend>
        <div class="control-group">
            @Html.LabelFor(m => m.FirstName, new { @class = "control-label" })
            <div class="controls">
                @Html.TextBoxFor(m => m.FirstName)
            </div>
        </div>
        <div class="control-group">
            @Html.LabelFor(m => m.LastName, new { @class = "control-label" })
            <div class="controls">
                @Html.TextBoxFor(m => m.LastName)
            </div>
        </div>
        <div class="control-group">
            @Html.LabelFor(m => m.Description, new { @class = "control-label" })
            <div class="controls">
                @Html.TextBoxFor(m => m.Description)
            </div>
        </div>
        <div>
            @(Html.Kendo()
        .Upload()
        .Name("upload")
        .Async(async =>
        {
            async.AutoUpload(true)
                .Save("Upload", "AccountController");
        }))
            </div>

        <div class="form-actions no-color">
            <input type="submit" value="Change user settings" class="btn" />
        </div>
    </fieldset>
}

